package com.example.ymm.modules1.service.sys;

import com.example.ymm.base.BaseService;
import com.example.ymm.model.CommonResult;
import com.example.ymm.model.TableList;
import com.example.ymm.model.UserLoginParam;
import com.example.ymm.model.YmPageDto;
import com.example.ymm.modules1.entity.my.sys.SysUser;
import com.example.ymm.modules1.service.dto.SysUserQueryCriteria;

public interface SysUserService extends BaseService<SysUser> {

    TableList<SysUser> list(SysUserQueryCriteria criteria, YmPageDto pageDto);

    SysUser findByUserName(String userName);

    SysUser addUser(SysUser user);

    CommonResult login(UserLoginParam userLoginParam);



}
